home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Python 1.1 / Doc / ref.tex < prev    next >
LaTeX Document  |  1994-10-06  |  1.7 KB  |  [TEXT/R*ch]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: ref.tex

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
99% dexvert Texinfo Document (document/texInfo) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file TeX document text default
98% file LaTeX document, ASCII text, with CR line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[CR] default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[R*ch]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 64 6f 63 75 6d 65 6e | 74 73 74 79 6c 65 5b 74 |\documen|tstyle[t|
|00000010| 77 6f 73 69 64 65 2c 31 | 31 70 74 2c 6d 79 66 6f |woside,1|1pt,myfo|
|00000020| 72 6d 61 74 5d 7b 72 65 | 70 6f 72 74 7d 0d 0d 5c |rmat]{re|port}..\|
|00000030| 74 69 74 6c 65 7b 50 79 | 74 68 6f 6e 20 52 65 66 |title{Py|thon Ref|
|00000040| 65 72 65 6e 63 65 20 4d | 61 6e 75 61 6c 7d 0d 0d |erence M|anual}..|
|00000050| 5c 69 6e 70 75 74 7b 62 | 6f 69 6c 65 72 70 6c 61 |\input{b|oilerpla|
|00000060| 74 65 7d 0d 0d 25 20 54 | 65 6c 6c 20 5c 69 6e 64 |te}..% T|ell \ind|
|00000070| 65 78 20 74 6f 20 61 63 | 74 75 61 6c 6c 79 20 77 |ex to ac|tually w|
|00000080| 72 69 74 65 20 74 68 65 | 20 2e 69 64 78 20 66 69 |rite the| .idx fi|
|00000090| 6c 65 0d 5c 6d 61 6b 65 | 69 6e 64 65 78 0d 0d 5c |le.\make|index..\|
|000000a0| 62 65 67 69 6e 7b 64 6f | 63 75 6d 65 6e 74 7d 0d |begin{do|cument}.|
|000000b0| 0d 5c 70 61 67 65 6e 75 | 6d 62 65 72 69 6e 67 7b |.\pagenu|mbering{|
|000000c0| 72 6f 6d 61 6e 7d 0d 0d | 5c 6d 61 6b 65 74 69 74 |roman}..|\maketit|
|000000d0| 6c 65 0d 0d 5c 69 6e 70 | 75 74 7b 63 6f 70 79 72 |le..\inp|ut{copyr|
|000000e0| 69 67 68 74 7d 0d 0d 5c | 62 65 67 69 6e 7b 61 62 |ight}..\|begin{ab|
|000000f0| 73 74 72 61 63 74 7d 0d | 0d 5c 6e 6f 69 6e 64 65 |stract}.|.\noinde|
|00000100| 6e 74 0d 50 79 74 68 6f | 6e 20 69 73 20 61 20 73 |nt.Pytho|n is a s|
|00000110| 69 6d 70 6c 65 2c 20 79 | 65 74 20 70 6f 77 65 72 |imple, y|et power|
|00000120| 66 75 6c 2c 20 69 6e 74 | 65 72 70 72 65 74 65 64 |ful, int|erpreted|
|00000130| 20 70 72 6f 67 72 61 6d | 6d 69 6e 67 20 6c 61 6e | program|ming lan|
|00000140| 67 75 61 67 65 0d 74 68 | 61 74 20 62 72 69 64 67 |guage.th|at bridg|
|00000150| 65 73 20 74 68 65 20 67 | 61 70 20 62 65 74 77 65 |es the g|ap betwe|
|00000160| 65 6e 20 43 20 61 6e 64 | 20 73 68 65 6c 6c 20 70 |en C and| shell p|
|00000170| 72 6f 67 72 61 6d 6d 69 | 6e 67 2c 20 61 6e 64 20 |rogrammi|ng, and |
|00000180| 69 73 20 74 68 75 73 0d | 69 64 65 61 6c 6c 79 20 |is thus.|ideally |
|00000190| 73 75 69 74 65 64 20 66 | 6f 72 20 60 60 74 68 72 |suited f|or ``thr|
|000001a0| 6f 77 2d 61 77 61 79 20 | 70 72 6f 67 72 61 6d 6d |ow-away |programm|
|000001b0| 69 6e 67 27 27 20 61 6e | 64 20 72 61 70 69 64 20 |ing'' an|d rapid |
|000001c0| 70 72 6f 74 6f 74 79 70 | 69 6e 67 2e 0d 49 74 73 |prototyp|ing..Its|
|000001d0| 20 73 79 6e 74 61 78 20 | 69 73 20 70 75 74 20 74 | syntax |is put t|
|000001e0| 6f 67 65 74 68 65 72 20 | 66 72 6f 6d 20 63 6f 6e |ogether |from con|
|000001f0| 73 74 72 75 63 74 73 20 | 62 6f 72 72 6f 77 65 64 |structs |borrowed|
|00000200| 20 66 72 6f 6d 20 61 20 | 76 61 72 69 65 74 79 20 | from a |variety |
|00000210| 6f 66 0d 6f 74 68 65 72 | 20 6c 61 6e 67 75 61 67 |of.other| languag|
|00000220| 65 73 3b 20 6d 6f 73 74 | 20 70 72 6f 6d 69 6e 65 |es; most| promine|
|00000230| 6e 74 20 61 72 65 20 69 | 6e 66 6c 75 65 6e 63 65 |nt are i|nfluence|
|00000240| 73 20 66 72 6f 6d 20 41 | 42 43 2c 20 43 2c 20 4d |s from A|BC, C, M|
|00000250| 6f 64 75 6c 61 2d 33 0d | 61 6e 64 20 49 63 6f 6e |odula-3.|and Icon|
|00000260| 2e 0d 0d 54 68 65 20 50 | 79 74 68 6f 6e 20 69 6e |...The P|ython in|
|00000270| 74 65 72 70 72 65 74 65 | 72 20 69 73 20 65 61 73 |terprete|r is eas|
|00000280| 69 6c 79 20 65 78 74 65 | 6e 64 65 64 20 77 69 74 |ily exte|nded wit|
|00000290| 68 20 6e 65 77 20 66 75 | 6e 63 74 69 6f 6e 73 20 |h new fu|nctions |
|000002a0| 61 6e 64 20 64 61 74 61 | 0d 74 79 70 65 73 20 69 |and data|.types i|
|000002b0| 6d 70 6c 65 6d 65 6e 74 | 65 64 20 69 6e 20 43 2e |mplement|ed in C.|
|000002c0| 20 20 50 79 74 68 6f 6e | 20 69 73 20 61 6c 73 6f | Python| is also|
|000002d0| 20 73 75 69 74 61 62 6c | 65 20 61 73 20 61 6e 20 | suitabl|e as an |
|000002e0| 65 78 74 65 6e 73 69 6f | 6e 0d 6c 61 6e 67 75 61 |extensio|n.langua|
|000002f0| 67 65 20 66 6f 72 20 68 | 69 67 68 6c 79 20 63 75 |ge for h|ighly cu|
|00000300| 73 74 6f 6d 69 7a 61 62 | 6c 65 20 43 20 61 70 70 |stomizab|le C app|
|00000310| 6c 69 63 61 74 69 6f 6e | 73 20 73 75 63 68 20 61 |lication|s such a|
|00000320| 73 20 65 64 69 74 6f 72 | 73 20 6f 72 0d 77 69 6e |s editor|s or.win|
|00000330| 64 6f 77 20 6d 61 6e 61 | 67 65 72 73 2e 0d 0d 50 |dow mana|gers...P|
|00000340| 79 74 68 6f 6e 20 69 73 | 20 61 76 61 69 6c 61 62 |ython is| availab|
|00000350| 6c 65 20 66 6f 72 20 76 | 61 72 69 6f 75 73 20 6f |le for v|arious o|
|00000360| 70 65 72 61 74 69 6e 67 | 20 73 79 73 74 65 6d 73 |perating| systems|
|00000370| 2c 20 61 6d 6f 6e 67 73 | 74 20 77 68 69 63 68 0d |, amongs|t which.|
|00000380| 73 65 76 65 72 61 6c 20 | 66 6c 61 76 6f 72 73 20 |several |flavors |
|00000390| 6f 66 20 7b 5c 55 4e 49 | 58 7d 2c 20 41 6d 6f 65 |of {\UNI|X}, Amoe|
|000003a0| 62 61 2c 20 74 68 65 20 | 41 70 70 6c 65 20 4d 61 |ba, the |Apple Ma|
|000003b0| 63 69 6e 74 6f 73 68 20 | 4f 2e 53 2e 2c 0d 61 6e |cintosh |O.S.,.an|
|000003c0| 64 20 4d 53 2d 44 4f 53 | 2e 0d 0d 54 68 69 73 20 |d MS-DOS|...This |
|000003d0| 72 65 66 65 72 65 6e 63 | 65 20 6d 61 6e 75 61 6c |referenc|e manual|
|000003e0| 20 64 65 73 63 72 69 62 | 65 73 20 74 68 65 20 73 | describ|es the s|
|000003f0| 79 6e 74 61 78 20 61 6e | 64 20 60 60 63 6f 72 65 |yntax an|d ``core|
|00000400| 20 73 65 6d 61 6e 74 69 | 63 73 27 27 20 6f 66 0d | semanti|cs'' of.|
|00000410| 74 68 65 20 6c 61 6e 67 | 75 61 67 65 2e 20 20 49 |the lang|uage. I|
|00000420| 74 20 69 73 20 74 65 72 | 73 65 2c 20 62 75 74 20 |t is ter|se, but |
|00000430| 61 74 74 65 6d 70 74 73 | 20 74 6f 20 62 65 20 65 |attempts| to be e|
|00000440| 78 61 63 74 20 61 6e 64 | 20 63 6f 6d 70 6c 65 74 |xact and| complet|
|00000450| 65 2e 0d 54 68 65 20 73 | 65 6d 61 6e 74 69 63 73 |e..The s|emantics|
|00000460| 20 6f 66 20 6e 6f 6e 2d | 65 73 73 65 6e 74 69 61 | of non-|essentia|
|00000470| 6c 20 62 75 69 6c 74 2d | 69 6e 20 6f 62 6a 65 63 |l built-|in objec|
|00000480| 74 20 74 79 70 65 73 20 | 61 6e 64 20 6f 66 20 74 |t types |and of t|
|00000490| 68 65 0d 62 75 69 6c 74 | 2d 69 6e 20 66 75 6e 63 |he.built|-in func|
|000004a0| 74 69 6f 6e 73 20 61 6e | 64 20 6d 6f 64 75 6c 65 |tions an|d module|
|000004b0| 73 20 61 72 65 20 64 65 | 73 63 72 69 62 65 64 20 |s are de|scribed |
|000004c0| 69 6e 20 74 68 65 20 7b | 5c 65 6d 20 50 79 74 68 |in the {|\em Pyth|
|000004d0| 6f 6e 0d 4c 69 62 72 61 | 72 79 20 52 65 66 65 72 |on.Libra|ry Refer|
|000004e0| 65 6e 63 65 7d 2e 20 20 | 46 6f 72 20 61 6e 20 69 |ence}. |For an i|
|000004f0| 6e 66 6f 72 6d 61 6c 20 | 69 6e 74 72 6f 64 75 63 |nformal |introduc|
|00000500| 74 69 6f 6e 20 74 6f 20 | 74 68 65 20 6c 61 6e 67 |tion to |the lang|
|00000510| 75 61 67 65 2c 20 73 65 | 65 0d 74 68 65 20 7b 5c |uage, se|e.the {\|
|00000520| 65 6d 20 50 79 74 68 6f | 6e 20 54 75 74 6f 72 69 |em Pytho|n Tutori|
|00000530| 61 6c 7d 2e 0d 0d 5c 65 | 6e 64 7b 61 62 73 74 72 |al}...\e|nd{abstr|
|00000540| 61 63 74 7d 0d 0d 5c 70 | 61 67 65 62 72 65 61 6b |act}..\p|agebreak|
|00000550| 0d 0d 7b 0d 5c 70 61 72 | 73 6b 69 70 20 3d 20 30 |..{.\par|skip = 0|
|00000560| 6d 6d 0d 5c 74 61 62 6c | 65 6f 66 63 6f 6e 74 65 |mm.\tabl|eofconte|
|00000570| 6e 74 73 0d 7d 0d 0d 5c | 70 61 67 65 62 72 65 61 |nts.}..\|pagebrea|
|00000580| 6b 0d 0d 5c 70 61 67 65 | 6e 75 6d 62 65 72 69 6e |k..\page|numberin|
|00000590| 67 7b 61 72 61 62 69 63 | 7d 0d 0d 5c 69 6e 63 6c |g{arabic|}..\incl|
|000005a0| 75 64 65 7b 72 65 66 31 | 7d 09 09 25 20 49 6e 74 |ude{ref1|}..% Int|
|000005b0| 72 6f 64 75 63 74 69 6f | 6e 0d 5c 69 6e 63 6c 75 |roductio|n.\inclu|
|000005c0| 64 65 7b 72 65 66 32 7d | 09 09 25 20 4c 65 78 69 |de{ref2}|..% Lexi|
|000005d0| 63 61 6c 20 61 6e 61 6c | 79 73 69 73 0d 5c 69 6e |cal anal|ysis.\in|
|000005e0| 63 6c 75 64 65 7b 72 65 | 66 33 7d 09 09 25 20 44 |clude{re|f3}..% D|
|000005f0| 61 74 61 20 6d 6f 64 65 | 6c 0d 5c 69 6e 63 6c 75 |ata mode|l.\inclu|
|00000600| 64 65 7b 72 65 66 34 7d | 09 09 25 20 45 78 65 63 |de{ref4}|..% Exec|
|00000610| 75 74 69 6f 6e 20 6d 6f | 64 65 6c 0d 5c 69 6e 63 |ution mo|del.\inc|
|00000620| 6c 75 64 65 7b 72 65 66 | 35 7d 09 09 25 20 45 78 |lude{ref|5}..% Ex|
|00000630| 70 72 65 73 73 69 6f 6e | 73 20 61 6e 64 20 63 6f |pression|s and co|
|00000640| 6e 64 69 74 69 6f 6e 73 | 0d 5c 69 6e 63 6c 75 64 |nditions|.\includ|
|00000650| 65 7b 72 65 66 36 7d 09 | 09 25 20 53 69 6d 70 6c |e{ref6}.|.% Simpl|
|00000660| 65 20 73 74 61 74 65 6d | 65 6e 74 73 0d 5c 69 6e |e statem|ents.\in|
|00000670| 63 6c 75 64 65 7b 72 65 | 66 37 7d 09 09 25 20 43 |clude{re|f7}..% C|
|00000680| 6f 6d 70 6f 75 6e 64 20 | 73 74 61 74 65 6d 65 6e |ompound |statemen|
|00000690| 74 73 0d 5c 69 6e 63 6c | 75 64 65 7b 72 65 66 38 |ts.\incl|ude{ref8|
|000006a0| 7d 09 09 25 20 54 6f 70 | 2d 6c 65 76 65 6c 20 63 |}..% Top|-level c|
|000006b0| 6f 6d 70 6f 6e 65 6e 74 | 73 0d 0d 5c 69 6e 70 75 |omponent|s..\inpu|
|000006c0| 74 7b 72 65 66 2e 69 6e | 64 7d 0d 0d 5c 65 6e 64 |t{ref.in|d}..\end|
|000006d0| 7b 64 6f 63 75 6d 65 6e | 74 7d 0d |{documen|t}. |
+--------+-------------------------+-------------------------+--------+--------+